<!DOCTYPE HTML>
<html>
<head>
    <title>VIP特权 - 二手电子乐园</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
    <link rel="stylesheet" href="assets/css/main.css" />
</head>
<body class="is-preload">
    <div id="page-wrapper">

        <!-- Header -->
        <div id="header-container"></div>

        <!-- Main -->
        <div id="main-wrapper">
            <div class="container">
                <header class="major">
                    <h2>VIP会员特权</h2>
                    <p>升级VIP会员，享受更多专属服务</p>
                </header>

                <div class="row gtr-200" v-scope>
                    <div class="col-8 col-12-medium">
                        
                        <!-- VIP特权列表 -->
                        <section>
                            <h3>VIP会员专享特权</h3>
                            <div class="features" v-for="privilege in vipPrivileges" :key="privilege.title">
                                <article>
                                    <header>
                                        <h4>{{ privilege.title }}</h4>
                                    </header>
                                    <p>{{ privilege.description }}</p>
                                </article>
                            </div>
                        </section>

                        <!-- 特权对比 -->
                        <section>
                            <h3>会员特权对比</h3>
                            <div class="table-wrapper">
                                <table>
                                    <thead>
                                        <tr>
                                            <th>功能</th>
                                            <th>普通会员</th>
                                            <th>VIP会员</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td>商品发布数量</td>
                                            <td>每月3条</td>
                                            <td>无限制</td>
                                        </tr>
                                        <tr>
                                            <td>搜索排名</td>
                                            <td>普通</td>
                                            <td>优先展示</td>
                                        </tr>
                                        <tr>
                                            <td>商品标记</td>
                                            <td>无</td>
                                            <td>诚信卖家标记</td>
                                        </tr>
                                        <tr>
                                            <td>客服支持</td>
                                            <td>普通客服</td>
                                            <td>专属客服</td>
                                        </tr>
                                        <tr>
                                            <td>信息审核</td>
                                            <td>24小时内</td>
                                            <td>优先审核</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </section>

                    </div>
                    <div class="col-4 col-12-medium">
                        
                        <!-- 升级VIP -->
                        <section>
                            <h3>升级VIP会员</h3>
                            <div class="box">
                                <p><strong>VIP会员年费：¥299</strong></p>
                                <p>享受全年VIP特权服务</p>
                                <ul class="actions">
                                    <li><a href="login.html" class="button primary large">立即升级</a></li>
                                </ul>
                                <p><small>升级前请先登录账户</small></p>
                            </div>
                        </section>

                        <!-- 常见问题 -->
                        <section>
                            <h3>常见问题</h3>
                            <div class="box">
                                <h4>如何成为VIP会员？</h4>
                                <p>登录账户后，在VIP页面点击"立即升级"即可。</p>
                                
                                <h4>VIP会员有效期多久？</h4>
                                <p>VIP会员有效期为一年，从升级当天开始计算。</p>
                                
                                <h4>可以退款吗？</h4>
                                <p>VIP会员服务一经开通，不支持退款。</p>
                            </div>
                        </section>

                    </div>
                </div>
            </div>
        </div>

        <!-- Footer -->
        <div id="footer-container"></div>

    </div>

    <!-- Scripts -->
    <script src="utils/loader.js"></script>
    <script>
        // 等待脚本加载完成
        window.addEventListener('scriptsLoaded', function() {
            // 加载公共组件
            $('#header-container').load('header.html');
            $('#footer-container').load('footer.html');

            // 初始化 petite-vue
            PetiteVue.createApp({
                vipPrivileges: window.siteData.vipPrivileges || []
            }).mount('[v-scope]');
        });
    </script>
</body>
</html>